package org.zero.concurrency.demo.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @program: concurrency-demo
 * @description: 用于标记【线程安全】的类-仅作为标识使用
 * @author: 01
 * @create: 2018-10-13 22:21
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
public @interface ThreadSafe {

    String value() default "";
}
